<template>
    <div class="body">
        <Tape></Tape>
        <Main></Main>
        <Recommend></Recommend>
    </div>
</template>

<script>
import Tape from "@/pages/Home/Tape";
import Main from '@/pages/Home/Main';
import Recommend from "@/pages/Home/Recommend"
export default {
    name: "Home",
    components: {
        Tape,
        Main,
        Recommend
    },
    // mounted(){
    //     this.$store.dispatch("getUserInfo");
    // }
};
</script>

<style scoped>
.body {
    background-color: #f5f5f5;
    min-width: 1200px;
    /*开启相对定位是为了让子元素绝对定位定位到body，不然会定位到显示器的第一视图*/
    position: relative;
}
</style>